package app.auto.runner.base;

public class ResUtil {
   public static int getAndroidValue(String cnt_layout){
      int val = 0;
      if (cnt_layout.startsWith("com.aliang.auto")) {
         val = RRes.get(cnt_layout.replace("com.aliang.auto.", "")).getAndroidValue();
      } else if (cnt_layout.startsWith("R.")) {
         val = RResApp.get(cnt_layout).getAndroidValue();
      }
      return val;
   }
}
